package cc.customer.cusDynamic.dao;

import cc.customer.common.config.MyMapper;
import cc.customer.cusDynamic.domain.CusDynamic;
import cc.customer.myCustomer.damain.CusResource;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CusDynamicMapper extends MyMapper<CusDynamic> {

   List<CusDynamic> selectDetailFollow(@Param("cus") CusDynamic cus);

   List<CusDynamic> selectAllCusFollow();

   /**根据当前登录人加载跟进记录*/
   List<CusDynamic> selectCusFollow(@Param("cus")CusDynamic cus);

   /**查沟通记录当天的所有内容*/
   List<CusDynamic> selectAllRecordData(@Param("useruuid")String useruuid,@Param("today")String today);

   int selectGiveUpCount(@Param("start")String start,@Param("end")String end);
}